package cn.tedu.oa.sys.entity;

import cn.tedu.oa.common.entity.BaseEntity;

/**
 * 用户
 */
public class User extends BaseEntity {

	private Integer deptId;   /*部门id*/
    private Department dept;
	private String  username; /*用户名*/
	private String  password; /*密码*/
	private String  name;     /*姓名*/
	private String  mobile;   /*手机号码*/
	private String  email;    /*邮箱*/
	private String  salt;     /*盐值*/
	private Integer valid;    /*有效值0正常1禁用*/

    public User() {
    }

	public Integer getDeptId() {
		return deptId;
	}

	public void setDeptId(Integer deptId) {
		this.deptId = deptId;
	}

    public Department getDept() {
        return dept;
    }

    public void setDept(Department dept) {
        this.dept = dept;
    }

    public String getUsername() {
		return username;
	}

	public void setUsername(String username) {
		this.username = username;
	}

	public String getPassword() {
		return password;
	}

	public void setPassword(String password) {
		this.password = password;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getMobile() {
		return mobile;
	}

	public void setMobile(String mobile) {
		this.mobile = mobile;
	}

	public String getEmail() {
		return email;
	}

	public void setEmail(String email) {
		this.email = email;
	}

	public String getSalt() {
		return salt;
	}

	public void setSalt(String salt) {
		this.salt = salt;
	}

	public Integer getValid() {
		return valid;
	}

	public void setValid(Integer valid) {
		this.valid = valid;
	}

}
